from django.urls import path, re_path
from django.urls import path, include
from rest_framework import routers
from apps.knowledge_fault_tree import views

router = routers.DefaultRouter()
router.register(r'fault_tree', views.FaultTreeViewSet)
router.register(r'probability', views.ProbabilityViewSet)


urlpatterns = [
    path('', include(router.urls)),
]